<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>旋转太极</title>
    <link rel="shortcut icon" href="../lib/image/favicon.ico" type="image/x-icon">
    <link rel="stylesheet" href="../lib/css/all.css">

</head>
<style>
    .taiji {
        width: 150px;
        height: 300px;
        border-right: 150px solid #000;
        background-color: #fff;
        border-radius: 150px;
        box-sizing: content-box;
        animation: rotate 2s infinite linear;
    }

    .taiji::before,
    .taiji::after {
        content: '';
        margin-left: 50%;
        display: block;
        width: 50px;
        height: 50px;
        background-color: #fff;
        border: 50px solid #000;
        border-radius: 75px;
    }

    .taiji::after {
        background-color: #000;
        border: 50px solid #fff;
    }

    @keyframes rotate {
        from {}

        to {
            transform: rotate(-360deg);
        }
    }
</style>

<body>
    <div id="app">
        <div class="taiji"></div>
    </div>
</body>

</html>